public class test {
    public static void main(String[] args){
        webStatsSystem url=new webStatsSystem  ();
        url.recordVisit("http://www.baidu.com");
        url.recordVisit("http://www.baidu.com");
        url.recordVisit("http://www.bilibili.com");
        url.visitPageRank();
        System.out.print("访问总数:");
        System.out.println(url.getTotalVisitCount());
        System.out.print("访问平均数:");
        System.out.println(url.getAverageVisitCount());
        System.out.print("最后运行时间为:");
        System.out.println(url.getLastVisitDate("http://www.baidu.com"));
        System.out.print("最后运行时间为:");
        System.out.println(url.getLastVisitDate("http://www.bilibili.com"));
        url.clearStats();
    }
}
